import { request } from "./request"

// export function getRegister({ name, password, password_confirmation, email }) {
//   return request({
//     method: 'post',
//     url: '/api/auth/register',
//     data: {
//       name, password, password_confirmation, email
//     }
//   })
// }
export function getRegister(model) {
  console.log(model);
  return request({
    method: 'post',
    url: '/api/auth/register',
    data: model
  })
}